package com.scap.authen.service;

import java.util.HashMap;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.validation.BindingResult;
import org.springframework.web.multipart.MultipartFile;

import com.scap.authen.entity.*;

public interface UserLoginService {
	
	public List<Object> getAllUserLogin();
	
	public UserLogin getUserLoginByUserId(String vaUserId);
	
	public List<Object> getUserLoginLastUpdate();
	
	public String insertUserLogin(UserLogin voUserLogin,String vaSiteAndRoleId,BindingResult result,HttpServletRequest request);
	
	public String updateUserLogin(UserLogin voUserLogin,String vaSiteAndRoleId,BindingResult result,HttpServletRequest request);
	
	public String deleteUserLogin(UserLogin voUserLogin,HttpServletRequest request);
	
	public List<Object> getListBasedOnSearchParameter(String vaUserId,String vaName,List<Object> userLoginList);
	
	public List<HashMap<String, String>> getListBasedOnSearchParameterSiteAndRole(String searchParameter,List<HashMap<String, String>> voSiteAndRoleList);

}
